package cn.ai.boot.config.PCF;

/**
 * @author jie.zhao@dms365.com
 * @Date 2025/7/30 17:25
 */
public class GenerationRuleEnumTest {

    public static void main(String[] args) {
        test();

    }

    public static void test() {
        GenerationRuleEnum byName = GenerationRuleEnum.getEnumByName("主线-分支规则");
        System.out.println(byName.getRuleCode());


        GenerationRuleEnum byCode = GenerationRuleEnum.getEnumByCode(GenerationRuleConstant.REGULAR_RULE, "CN");
        System.out.println(byCode);


    }
}
